Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / SaveAsPng Method / SaveAsPng(String,Nullable<Rectangle>) Method
The output file path.
Clipping rectangle of the image to be saved.

In This Topic
    SaveAsPng(String,Nullable<Rectangle>) Method
    In This Topic
    Saves the image into a file in PNG format.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveAsPng( _
       ByVal path As System.String, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) 
    public void SaveAsPng( 
       System.string path,
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    path
    The output file path.
    clipRect
    Clipping rectangle of the image to be saved.
    See Also